import { ApiProperty } from '@nestjs/swagger';
import { IsEnum, IsNotEmpty, IsOptional } from 'class-validator';

export class QueryOpenIdDto {
  @ApiProperty({ description: '用户userId', example: '1' })
  @IsNotEmpty({ message: '用户userId不能为空' })
  userId: string | number;
}
